package com.lucanjun.cn.springsecurity.business.controller;

import com.lucanjun.cn.springsecurity.common.result.HttpResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @author lucanjun
 * @create 2025-03-10
 * @describe 测试类
 */
@Slf4j
@RestController
@Tag(name = "测试模块")
@RequiredArgsConstructor
@RequestMapping("/api/test")
public class TestController {

    @PostMapping("/hello")
    @Operation(summary = "hello", description = "hello")
    public HttpResult<Object> hello() {
        return HttpResult.returnSuccess();
    }

}
